#include <stdio.h>
int main()
{
    char c = 't';
    char *p1, **p2, ***p3;
    p1 = &c;
    p2 = &p1;
    p3 = &p2;
    printf("Way 1: %c\n", c);
    printf("Way 1: c address %p\n", &c);
    printf("Way 2: %c\n", *p1);
    printf("Way 2: p1 value is %p\n", p1); // the address of c
    printf("Way 3: %c\n", **p2);
    printf("Way 3: p2 value is %p\n", p2); // the address of p1
    printf("Way 4: %c\n", ***p3);
    printf("Way 4: p3 value is %p\n", p3); // the address of p2
    return 0;
}
